const isDev=process.env.NODE_ENV === "development";

// 本地开发代理&远程服务器代理
const baseUrl=location.protocol+"//"+location.host+"/qilin";

// 服务器静态资地址代理
const serverBaseUrl=isDev ? "http://localhost:5000" : location.protocol+"//"+location.host+"/qilin";
const uploadImageUrl=serverBaseUrl+"/uploads/";
const uploadXlsxUrl=serverBaseUrl+"/uploads/files/";

export {
    baseUrl,
    uploadImageUrl,
    uploadXlsxUrl
}